package lamer;

import utils.IniFile;
import utils.Vec;
import Logic.Galaxy;
import Logic.RenderingParameters;

public class LamerParams {
	public Galaxy galaxy = new Galaxy();
	public Vec orientation = new Vec(0,0,1);
	public RenderingParameters rp = new RenderingParameters(LSettings.renderingParams);
	
	public void CopyFrom(LamerParams lp) {
		orientation.set(lp.orientation);
		galaxy.CopyFrom(lp.galaxy);
		rp.copyFrom(lp.rp);
	}
	
	public void SaveStep(int step) {
		String s = "" + step + " " + rp.camera.z + " " + orientation.x + " " + orientation.y + " " + orientation.z + " " + galaxy.winding_N.x + "\n";
		IniFile.AddToTextfile("result.txt", s);
	}
	
}
